package Demo18;

public class Animal {
    private  String name;
    private  String sex;
    private  String color;
    private int age;
//    private Object a1;
//    private Object a2;


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }


//    public void setA1(Object a1) {
//        this.a1 = a1;
//    }
//
//    public void setA2(Object a2) {
//        this.a2 = a2;
//    }
}
